WebinaneCommerce\Helpers\Api S

Total Complexity 42
Dependencies 2
Dependents 2
Total lines 346
Lines of code 152
Logical lines of code 67
Comment lines 120
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
parse_response()
S
56 3 17
is_connected()
S
65 4 9
is_disconnected()
S
63 3 10
is_expired()
S
70 3 6
request()
S
59 2 14
set_token_exp()
S
71 2 6
__callStatic()
S
72 2 5
set_refresh_token()
S
71 2 6
__call()
S
72 2 5
get_token()
S
70 2 6
set_token()
S
71 2 6
remove_storage()
S
71 2 6
instance()
S
72 2 6
get_token_exp()
S
80 1 3
get_redirect_url()
S
78 1 3
get_auth_url()
S
79 1 3
get_storage()
S
76 1 4
set_creds()
S
71 1 6
init()
S
68 1 7
validate_token()
S
70 1 6
get_new_token()
S
89 1 2
request_body()
S
70 1 6
get_headers()
S
68 1 7
get_refresh_token()
S
80 1 3